Eclipse Platform
Pre-release 3.0

org.eclipse.ui.texteditor
Class AnnotationPreference

java.lang.Object
  extended byorg.eclipse.ui.texteditor.AnnotationPreference

public class AnnotationPreference
extends Object

An annotation preference provides all the information required for handing the preferences for the presentation of annotations of a specified type. The provided information covers:

Since:
2.1

Field Summary
protected static Object[] ATTRIBUTES
          Array of all supported attributes.
protected static Object COLOR_PREFERENCE_KEY
          The preference key for the presentation color
protected static Object COLOR_PREFERENCE_VALUE
          The presentation color
 IAnnotationImageProvider fAnnotationImageProvider
          The annotation image provider.
 String fAnnotationImageProviderAttribute
          The name of the attribute used to load the annotation image provider from the configuration element.
 IConfigurationElement fConfigurationElement
          The configuration element from which to create the annotation image provider.
protected static Object HEADER_VALUE
          Indicates whether the annotation type contributed to the overview ruler's header
protected static Object HIGHLIGHT_PREFERENCE_KEY
          The preference key for highlighting inside text.
protected static Object HIGHLIGHT_PREFERENCE_VALUE
          The value for highlighting inside text.
protected static Object IMAGE_DESCRIPTOR
          The image to be used for drawing in the vertical ruler.
protected static Object IMAGE_PROVIDER
          The annotation image provider.
protected static Object IS_GO_TO_NEXT_TARGET_KEY
          The preference key for go to next navigation enablement.
protected static Object IS_GO_TO_NEXT_TARGET_VALUE
          The value for go to next navigation enablement.
protected static Object IS_GO_TO_PREVIOUS_TARGET_KEY
          The preference key for go to previous navigation enablement.
protected static Object IS_GO_TO_PREVIOUS_TARGET_VALUE
          The value for go to previous navigation enablement.
protected static Object OVERVIEW_RULER_PREFERENCE_KEY
          The preference key for the visibility in the overview ruler
protected static Object OVERVIEW_RULER_PREFERENCE_VALUE
          The visibility in the overview ruler
protected static Object PREFERENCE_LABEL
          The preference label
protected static Object PRESENTATION_LAYER
          The presentation layer
protected static Object SHOW_IN_NAVIGATION_DROPDOWN_KEY
          The preference key for the visibility in the next/previous drop down toolbar action.
protected static Object SHOW_IN_NAVIGATION_DROPDOWN_VALUE
          The value for the visibility in the next/previous drop down toolbar action.
protected static Object SYMBOLIC_IMAGE_NAME
          The symbolic name of the image to be drawn in the vertical ruler.
protected static Object TEXT_PREFERENCE_KEY
          The preference key for the visibility inside text
protected static Object TEXT_PREFERENCE_VALUE
          The visibility inside text
protected static Object VERTICAL_RULER_PREFERENCE_KEY
          The preference key for the visibility in the vertical ruler.
protected static Object VERTICAL_RULER_PREFERENCE_VALUE
          The visibility in the vertical ruler.
 
Constructor Summary
AnnotationPreference()
          Creates a new uninitialized annotation preference.
AnnotationPreference(Object annotationType, String colorKey, String textKey, String overviewRulerKey, int presentationLayer)
          Creates a new annotation preference for the given annotation type.
 
Method Summary
 boolean contributesToHeader()
          Returns whether the annotation type contributes to the header of the overview ruler.
 IAnnotationImageProvider getAnnotationImageProvider()
          Returns the annotation image provider.
 Object getAnnotationType()
          Returns the annotation type.
protected  boolean getBooleanValue(Object attribute)
          Returns the value of the given attribute as boolean.
 String getColorPreferenceKey()
          Returns the preference key for the presentation color.
 RGB getColorPreferenceValue()
          Returns the default presentation color.
 String getHighlightPreferenceKey()
          Returns the preference key for highlighting inside text.
 boolean getHighlightPreferenceValue()
          Returns the default value for highlighting inside text.
 ImageDescriptor getImageDescriptor()
          Returns the image descriptor for the image to be drawn in the vertical ruler.
protected  int getIntegerValue(Object attribute)
          Returns the value of the given attribute as integer.
 String getIsGoToNextNavigationTargetKey()
          Returns the preference key for go to next navigation enablement.
 String getIsGoToPreviousNavigationTargetKey()
          Returns the preference key for go to previous navigation enablement.
 String getMarkerType()
          Deprecated. since 3.0
 String getOverviewRulerPreferenceKey()
          Returns the preference key for the visibility in the overview ruler.
 boolean getOverviewRulerPreferenceValue()
          Returns the default visibility in the overview ruler.
 String getPreferenceLabel()
          Returns the presentation string for this annotation type.
 int getPresentationLayer()
          Returns the presentation layer.
 int getSeverity()
          Deprecated. since 3.0
 String getShowInNextPrevDropdownToolbarActionKey()
          Returns the preference key for the visibility in the next/previous drop down toolbar action.
protected  String getStringValue(Object attribute)
          Returns the value of the given attribute as string.
 String getSymbolicImageName()
          Returns the symbolic name of the image to be drawn in the vertical ruler.
 String getTextPreferenceKey()
          Returns the preference key for the visibility inside text.
 boolean getTextPreferenceValue()
          Returns the default visibility inside text.
 Object getValue(Object attribute)
          Returns the value of the given attribute.
 String getVerticalRulerPreferenceKey()
          Returns the preference key for the visibility in the vertical ruler.
 boolean getVerticalRulerPreferenceValue()
          Returns the default visibility in the vertical ruler.
 boolean hasValue(Object attribute)
          Returns whether the given attribute is defined.
 boolean isGoToNextNavigationTarget()
          Returns the default value for go to next navigation enablement.
 boolean isGoToPreviousNavigationTarget()
          Returns the default value for go to previous navigation enablement.
 boolean isPreferenceKey(String key)
          Returns whether the given string is a preference key.
 boolean isShowInNextPrevDropdownToolbarAction()
          Returns the default value for the visibility in the next/previous drop down toolbar action.
 void merge(AnnotationPreference preference)
          Merges the values of the given preference into this preference.
 void setAnnotationImageProvider(IAnnotationImageProvider provider)
          Sets the annotation image provider who provides images for annotations of the specified annotation type.
 void setAnnotationImageProviderData(IConfigurationElement configurationElement, String annotationImageProviderAttribute)
          Sets the data needed to create the annotation image provider.
 void setAnnotationType(Object annotationType)
          Sets the annotation type.
 void setColorPreferenceKey(String colorKey)
          Sets the preference key for the presentation color.
 void setColorPreferenceValue(RGB colorValue)
          Sets the default presentation color.
 void setContributesToHeader(boolean contributesToHeader)
          Sets whether the annotation type contributes to the overview ruler's header.
 void setHighlightPreferenceKey(String highlightKey)
          Sets the preference key for highlighting inside text.
 void setHighlightPreferenceValue(boolean highlightValue)
          Sets the default value for highlighting inside text.
 void setImageDescriptor(ImageDescriptor descriptor)
          Sets the image descriptor for the image to be drawn in the vertical ruler.
 void setIsGoToNextNavigationTarget(boolean isGoToNextNavigationTarget)
          Sets the default value for go to next navigation enablement.
 void setIsGoToNextNavigationTargetKey(String isGoToNextNavigationTargetKey)
          Sets the preference key for go to next navigation enablement.
 void setIsGoToPreviousNavigationTarget(boolean isGoToPreviousNavigationTarget)
          Sets the default value for go to previous navigation enablement.
 void setIsGoToPreviousNavigationTargetKey(String isGoToPreviousNavigationTargetKey)
          Sets the preference key for go to previous navigation enablement.
 void setMarkerType(String markerType)
          Sets the marker type.
 void setOverviewRulerPreferenceKey(String overviewRulerKey)
          Sets the preference key for the visibility in the overview ruler.
 void setOverviewRulerPreferenceValue(boolean overviewRulerValue)
          Sets the default visibility in the overview ruler.
 void setPreferenceLabel(String label)
          Sets the presentation label of this annotation type.
 void setPresentationLayer(int presentationLayer)
          Sets the presentation layer.
 void setSeverity(int severity)
          Sets the marker serverity.
 void setShowInNextPrevDropdownToolbarAction(boolean showInNextPrevDropdownToolbarAction)
          Sets the default value for the visibility in the next/previous drop down toolbar action.
 void setShowInNextPrevDropdownToolbarActionKey(String showInNextPrevDropdownToolbarActionKey)
          Sets the preference key for the visibility in the next/previous drop down toolbar action.
 void setSymbolicImageName(String symbolicImageName)
          Sets the symbolic name of the image to be drawn in the vertical ruler.
 void setTextPreferenceKey(String textKey)
          Sets the preference key for the visibility of squiggles inside text.
 void setTextPreferenceValue(boolean textValue)
          Sets the default visibility inside text.
protected  void setValue(Object attribute, boolean value)
          Sets the given value for the given attribute.
protected  void setValue(Object attribute, int value)
          Sets the given value for the given attribute.
protected  void setValue(Object attribute, Object value)
          Sets the given value for the given attribute.
 void setVerticalRulerPreferenceKey(String verticalRulerKey)
          Sets the preference key for the visibility in the vertical ruler.
 void setVerticalRulerPreferenceValue(boolean verticalRulerValue)
          Sets the default visibility in the vertical ruler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAGE_DESCRIPTOR

protected static final Object IMAGE_DESCRIPTOR
The image to be used for drawing in the vertical ruler.


PREFERENCE_LABEL

protected static final Object PREFERENCE_LABEL
The preference label


PRESENTATION_LAYER

protected static final Object PRESENTATION_LAYER
The presentation layer


SYMBOLIC_IMAGE_NAME

protected static final Object SYMBOLIC_IMAGE_NAME
The symbolic name of the image to be drawn in the vertical ruler.


HEADER_VALUE

protected static final Object HEADER_VALUE
Indicates whether the annotation type contributed to the overview ruler's header


IMAGE_PROVIDER

protected static final Object IMAGE_PROVIDER
The annotation image provider.


TEXT_PREFERENCE_KEY

protected static final Object TEXT_PREFERENCE_KEY
The preference key for the visibility inside text


TEXT_PREFERENCE_VALUE

protected static final Object TEXT_PREFERENCE_VALUE
The visibility inside text


COLOR_PREFERENCE_KEY

protected static final Object COLOR_PREFERENCE_KEY
The preference key for the presentation color


COLOR_PREFERENCE_VALUE

protected static final Object COLOR_PREFERENCE_VALUE
The presentation color


HIGHLIGHT_PREFERENCE_KEY

protected static final Object HIGHLIGHT_PREFERENCE_KEY
The preference key for highlighting inside text.


HIGHLIGHT_PREFERENCE_VALUE

protected static final Object HIGHLIGHT_PREFERENCE_VALUE
The value for highlighting inside text.


IS_GO_TO_NEXT_TARGET_KEY

protected static final Object IS_GO_TO_NEXT_TARGET_KEY
The preference key for go to next navigation enablement.


IS_GO_TO_NEXT_TARGET_VALUE

protected static final Object IS_GO_TO_NEXT_TARGET_VALUE
The value for go to next navigation enablement.


IS_GO_TO_PREVIOUS_TARGET_KEY

protected static final Object IS_GO_TO_PREVIOUS_TARGET_KEY
The preference key for go to previous navigation enablement.


IS_GO_TO_PREVIOUS_TARGET_VALUE

protected static final Object IS_GO_TO_PREVIOUS_TARGET_VALUE
The value for go to previous navigation enablement.


VERTICAL_RULER_PREFERENCE_KEY

protected static final Object VERTICAL_RULER_PREFERENCE_KEY
The preference key for the visibility in the vertical ruler.


VERTICAL_RULER_PREFERENCE_VALUE

protected static final Object VERTICAL_RULER_PREFERENCE_VALUE
The visibility in the vertical ruler.


OVERVIEW_RULER_PREFERENCE_KEY

protected static final Object OVERVIEW_RULER_PREFERENCE_KEY
The preference key for the visibility in the overview ruler


OVERVIEW_RULER_PREFERENCE_VALUE

protected static final Object OVERVIEW_RULER_PREFERENCE_VALUE
The visibility in the overview ruler


SHOW_IN_NAVIGATION_DROPDOWN_KEY

protected static final Object SHOW_IN_NAVIGATION_DROPDOWN_KEY
The preference key for the visibility in the next/previous drop down toolbar action.


SHOW_IN_NAVIGATION_DROPDOWN_VALUE

protected static final Object SHOW_IN_NAVIGATION_DROPDOWN_VALUE
The value for the visibility in the next/previous drop down toolbar action.


ATTRIBUTES

protected static final Object[] ATTRIBUTES
Array of all supported attributes.


fAnnotationImageProvider

public IAnnotationImageProvider fAnnotationImageProvider
The annotation image provider.

Since:
3.0

fConfigurationElement

public IConfigurationElement fConfigurationElement
The configuration element from which to create the annotation image provider.

Since:
3.0

fAnnotationImageProviderAttribute

public String fAnnotationImageProviderAttribute
The name of the attribute used to load the annotation image provider from the configuration element.

Since:
3.0
Constructor Detail

AnnotationPreference

public AnnotationPreference()
Creates a new uninitialized annotation preference.


AnnotationPreference

public AnnotationPreference(Object annotationType,
                            String colorKey,
                            String textKey,
                            String overviewRulerKey,
                            int presentationLayer)
Creates a new annotation preference for the given annotation type.

Parameters:
annotationType - the annotation type
colorKey - the preference key for the presentation color
textKey - the preference key for the visibility inside text
overviewRulerKey - the preference key for the visibility in the overview ruler
presentationLayer - the presentation layer
Method Detail

setValue

protected void setValue(Object attribute,
                        Object value)
Sets the given value for the given attribute.

Parameters:
attribute - the attribute
value - the attribute value
Since:
3.0

setValue

protected void setValue(Object attribute,
                        int value)
Sets the given value for the given attribute.

Parameters:
attribute - the attribute
value - the attribute value
Since:
3.0

setValue

protected void setValue(Object attribute,
                        boolean value)
Sets the given value for the given attribute.

Parameters:
attribute - the attribute
value - the attribute value
Since:
3.0

getStringValue

protected String getStringValue(Object attribute)
Returns the value of the given attribute as string.

Parameters:
attribute - the attribute
Returns:
the attribute value
Since:
3.0

getBooleanValue

protected boolean getBooleanValue(Object attribute)
Returns the value of the given attribute as boolean.

Parameters:
attribute - the attribute
Returns:
the attribute value
Since:
3.0

getIntegerValue

protected int getIntegerValue(Object attribute)
Returns the value of the given attribute as integer.

Parameters:
attribute - the attribute
Returns:
the attribute value
Since:
3.0

getValue

public Object getValue(Object attribute)
Returns the value of the given attribute.

Parameters:
attribute - the attribute
Returns:
the attribute value
Since:
3.0

hasValue

public boolean hasValue(Object attribute)
Returns whether the given attribute is defined.

Parameters:
attribute - the attribute
Returns:
true if the attribute has a value false otherwise
Since:
3.0

isPreferenceKey

public boolean isPreferenceKey(String key)
Returns whether the given string is a preference key.

Parameters:
key - the string to test
Returns:
true if the string is a preference key

getAnnotationType

public Object getAnnotationType()
Returns the annotation type.

Returns:
the annotation type

getMarkerType

public String getMarkerType()
Deprecated. since 3.0

Returns the marker type.

Returns:
the marker type

getSeverity

public int getSeverity()
Deprecated. since 3.0

Returns the marker severity.

Returns:
the marker severity

setAnnotationType

public void setAnnotationType(Object annotationType)
Sets the annotation type.

Parameters:
annotationType - the annotation type

setMarkerType

public void setMarkerType(String markerType)
Sets the marker type.

Parameters:
markerType - the marker type

setSeverity

public void setSeverity(int severity)
Sets the marker serverity.

Parameters:
severity - the marker severity

getColorPreferenceKey

public String getColorPreferenceKey()
Returns the preference key for the presentation color.

Returns:
the preference key for the presentation color

getColorPreferenceValue

public RGB getColorPreferenceValue()
Returns the default presentation color.

Returns:
the default presentation color.

getPreferenceLabel

public String getPreferenceLabel()
Returns the presentation string for this annotation type.

Returns:
the presentation string for this annotation type

getOverviewRulerPreferenceKey

public String getOverviewRulerPreferenceKey()
Returns the preference key for the visibility in the overview ruler.

Returns:
the preference key for the visibility in the overview ruler

getOverviewRulerPreferenceValue

public boolean getOverviewRulerPreferenceValue()
Returns the default visibility in the overview ruler.

Returns:
the default visibility in the overview ruler

getVerticalRulerPreferenceKey

public String getVerticalRulerPreferenceKey()
Returns the preference key for the visibility in the vertical ruler.

Returns:
the preference key for the visibility in the vertical ruler
Since:
3.0

getVerticalRulerPreferenceValue

public boolean getVerticalRulerPreferenceValue()
Returns the default visibility in the vertical ruler.

Returns:
the default visibility in the vertical ruler
Since:
3.0

getPresentationLayer

public int getPresentationLayer()
Returns the presentation layer.

Returns:
the presentation layer

getTextPreferenceKey

public String getTextPreferenceKey()
Returns the preference key for the visibility inside text.

Returns:
the preference key for the visibility inside text

getTextPreferenceValue

public boolean getTextPreferenceValue()
Returns the default visibility inside text.

Returns:
the default visibility inside text

getHighlightPreferenceKey

public String getHighlightPreferenceKey()
Returns the preference key for highlighting inside text.

Returns:
the preference key for highlighting inside text
Since:
3.0

getHighlightPreferenceValue

public boolean getHighlightPreferenceValue()
Returns the default value for highlighting inside text.

Returns:
the default value for highlighting inside text
Since:
3.0

contributesToHeader

public boolean contributesToHeader()
Returns whether the annotation type contributes to the header of the overview ruler.

Returns:
true if the annotation type contributes to the header of the overview ruler

setColorPreferenceKey

public void setColorPreferenceKey(String colorKey)
Sets the preference key for the presentation color.

Parameters:
colorKey - the preference key

setColorPreferenceValue

public void setColorPreferenceValue(RGB colorValue)
Sets the default presentation color.

Parameters:
colorValue - the default color

setPreferenceLabel

public void setPreferenceLabel(String label)
Sets the presentation label of this annotation type.

Parameters:
label - the presentation label

setOverviewRulerPreferenceKey

public void setOverviewRulerPreferenceKey(String overviewRulerKey)
Sets the preference key for the visibility in the overview ruler.

Parameters:
overviewRulerKey - the preference key

setOverviewRulerPreferenceValue

public void setOverviewRulerPreferenceValue(boolean overviewRulerValue)
Sets the default visibility in the overview ruler.

Parameters:
overviewRulerValue - true if visible by default, false otherwise

setVerticalRulerPreferenceKey

public void setVerticalRulerPreferenceKey(String verticalRulerKey)
Sets the preference key for the visibility in the vertical ruler.

Parameters:
verticalRulerKey - the preference key
Since:
3.0

setVerticalRulerPreferenceValue

public void setVerticalRulerPreferenceValue(boolean verticalRulerValue)
Sets the default visibility in the vertical ruler.

Parameters:
verticalRulerValue - true if visible by default, false otherwise
Since:
3.0

setPresentationLayer

public void setPresentationLayer(int presentationLayer)
Sets the presentation layer.

Parameters:
presentationLayer - the presentation layer

setTextPreferenceKey

public void setTextPreferenceKey(String textKey)
Sets the preference key for the visibility of squiggles inside text.

Parameters:
textKey - the preference key

setTextPreferenceValue

public void setTextPreferenceValue(boolean textValue)
Sets the default visibility inside text.

Parameters:
textValue - true if visible by default, false otherwise

setHighlightPreferenceKey

public void setHighlightPreferenceKey(String highlightKey)
Sets the preference key for highlighting inside text.

Parameters:
highlightKey - the preference key
Since:
3.0

setHighlightPreferenceValue

public void setHighlightPreferenceValue(boolean highlightValue)
Sets the default value for highlighting inside text.

Parameters:
highlightValue - true if highlighted in text by default, false otherwise
Since:
3.0

setContributesToHeader

public void setContributesToHeader(boolean contributesToHeader)
Sets whether the annotation type contributes to the overview ruler's header.

Parameters:
contributesToHeader - true if in header, false otherwise

isGoToNextNavigationTarget

public boolean isGoToNextNavigationTarget()
Returns the default value for go to next navigation enablement.

Returns:
true if enabled by default
Since:
3.0

setIsGoToNextNavigationTarget

public void setIsGoToNextNavigationTarget(boolean isGoToNextNavigationTarget)
Sets the default value for go to next navigation enablement.

Parameters:
isGoToNextNavigationTarget - true if enabled by default
Since:
3.0

getIsGoToNextNavigationTargetKey

public String getIsGoToNextNavigationTargetKey()
Returns the preference key for go to next navigation enablement.

Returns:
the preference key or null if the key is undefined
Since:
3.0

setIsGoToNextNavigationTargetKey

public void setIsGoToNextNavigationTargetKey(String isGoToNextNavigationTargetKey)
Sets the preference key for go to next navigation enablement.

Parameters:
isGoToNextNavigationTargetKey - true if enabled by default
Since:
3.0

isGoToPreviousNavigationTarget

public boolean isGoToPreviousNavigationTarget()
Returns the default value for go to previous navigation enablement.

Returns:
true if enabled by default
Since:
3.0

setIsGoToPreviousNavigationTarget

public void setIsGoToPreviousNavigationTarget(boolean isGoToPreviousNavigationTarget)
Sets the default value for go to previous navigation enablement.

Parameters:
isGoToPreviousNavigationTarget - true if enabled by default
Since:
3.0

getIsGoToPreviousNavigationTargetKey

public String getIsGoToPreviousNavigationTargetKey()
Returns the preference key for go to previous navigation enablement.

Returns:
the preference key or null if the key is undefined
Since:
3.0

setIsGoToPreviousNavigationTargetKey

public void setIsGoToPreviousNavigationTargetKey(String isGoToPreviousNavigationTargetKey)
Sets the preference key for go to previous navigation enablement.

Parameters:
isGoToPreviousNavigationTargetKey - the preference key
Since:
3.0

getShowInNextPrevDropdownToolbarActionKey

public String getShowInNextPrevDropdownToolbarActionKey()
Returns the preference key for the visibility in the next/previous drop down toolbar action.

Returns:
the preference key or null if the key is undefined
Since:
3.0

setShowInNextPrevDropdownToolbarActionKey

public void setShowInNextPrevDropdownToolbarActionKey(String showInNextPrevDropdownToolbarActionKey)
Sets the preference key for the visibility in the next/previous drop down toolbar action.

Parameters:
showInNextPrevDropdownToolbarActionKey - the preference key
Since:
3.0

isShowInNextPrevDropdownToolbarAction

public boolean isShowInNextPrevDropdownToolbarAction()
Returns the default value for the visibility in the next/previous drop down toolbar action.

Returns:
true if enabled by default
Since:
3.0

setShowInNextPrevDropdownToolbarAction

public void setShowInNextPrevDropdownToolbarAction(boolean showInNextPrevDropdownToolbarAction)
Sets the default value for the visibility in the next/previous drop down toolbar action.

Parameters:
showInNextPrevDropdownToolbarAction - true if enabled by default
Since:
3.0

getImageDescriptor

public ImageDescriptor getImageDescriptor()
Returns the image descriptor for the image to be drawn in the vertical ruler. The provided image is only used, if getAnnotationImageProvider returns null.

Returns:
the image descriptor or null
Since:
3.0

setImageDescriptor

public void setImageDescriptor(ImageDescriptor descriptor)
Sets the image descriptor for the image to be drawn in the vertical ruler.

Parameters:
descriptor - the image descriptor
Since:
3.0

getSymbolicImageName

public String getSymbolicImageName()
Returns the symbolic name of the image to be drawn in the vertical ruler. The image is only used if getImageDescriptor returns null.

Returns:
the symbolic name of the image or null
Since:
3.0

setSymbolicImageName

public void setSymbolicImageName(String symbolicImageName)
Sets the symbolic name of the image to be drawn in the vertical ruler.

Parameters:
symbolicImageName - the symbolic image name
Since:
3.0

getAnnotationImageProvider

public IAnnotationImageProvider getAnnotationImageProvider()
Returns the annotation image provider. If no default annotation image provider has been set, this method checks whether the annotation image provider data has been set. If so, an annotation image provider is created if the configuration element's plug-in is loaded. When an annotation image provider has been created successfully, it is set as the default annotation image provider.

Returns:
the annotation image provider
Since:
3.0

setAnnotationImageProvider

public void setAnnotationImageProvider(IAnnotationImageProvider provider)
Sets the annotation image provider who provides images for annotations of the specified annotation type.

Parameters:
provider - the annotation image provider
Since:
3.0

setAnnotationImageProviderData

public void setAnnotationImageProviderData(IConfigurationElement configurationElement,
                                           String annotationImageProviderAttribute)
Sets the data needed to create the annotation image provider.

Parameters:
configurationElement - the configuration element
annotationImageProviderAttribute - the atrribute of the configuration element
Since:
3.0

merge

public void merge(AnnotationPreference preference)
Merges the values of the given preference into this preference. Existing values will not be overwritten. Subclasses may extend.

Parameters:
preference - the preference to merge into this preference
Since:
3.0

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.